package ysq.xyg.service;


import com.github.pagehelper.PageInfo;
import ysq.xyg.model.Compensate;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author yu sheng qiang
 * @create 2017-03-22 15:36
 **/
public interface CompensateService extends BaseService<Compensate> {
    //分页查询
    public PageInfo<Compensate> pageInfo(Compensate compensate, int pageSize, int pageNum);
    public List<Compensate> list(Compensate compensate);
    public PageInfo<Compensate> pageLeft(Compensate compensate, int pageSize, int pageNum);
    /**
     *@Author: YuShengQiang
     *@Date: 2018-12-05 16:16
     *@Description:数据导出
     */
    public void export(HttpServletResponse response, Compensate compensate);
}
